﻿using SCM.Common;
using SCM.Model;
using SCM.Model.DBEntity;
using System.Collections.Generic;

namespace SCM.Servie.IBusiness
{
    /// <summary>
    /// 组件明细服务接口
    /// </summary>
    public interface IMaterialSubProductDtlService
    {
        string Add(T_Material_SubProductDtl model);

        bool Delete(string materialSubProductId);

        bool Save(string materialSubProductId, List<T_Material_SubProductDtl> list);

        bool Update(T_Material_SubProductDtl model);

        T_Material_SubProductDtl GetById(string id);

        List<T_Material_SubProductDtl> GetList(string materialSubProductID);

        List<MaterialSubProductDtlVo> GetListVo(string materialSubProductID);

        PageData<T_Material_SubProductDtl> Query(string materialSubProductID, PageInfo page);
    }
}
